<template>
    <!-- 公共头 -->
        <header class="layout_head">
            <i class="iconfont back_btn pl_24" @click="back_btn">&#xe600;</i>
            {{pageTitle}}
        </header>
</template>

<script>
export default {
    name: 'HeadBtn',
    props: ['pageTitle']
    ,
    data () {
        return {

        }
    },
    methods: {
        back_btn () {
            this.$router.go(-1);
        }
    }
}
</script>

<style scoped>
.layout_head{
    width: 100%;
    height: 0.93rem;
    line-height: 0.93rem;
    background:rgba(255,255,255,1);
    font-size: 0.41rem;
    font-family: PingFangSC-Regular;
    color:rgba(42,42,42,1);
}
.edit_atten_area>div{
    margin-top: 0.17rem;
}
.atten_title>input{
    padding-top: 0.28rem;
    padding-right: 0.76rem;
    text-align: right;
    font-size: 0.24rem;
    font-family: PingFangSC-Regular;
    color: rgba(93,100,110,1);
    width: 2.7rem;  
    white-space:nowrap; 
    overflow:hidden;  
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
.atten_title{
    height: 0.95rem;
    line-height: 0.95rem;
    background-color:#fff;
}
</style>


